package com.sf.fy.uav.order.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author LTQ
 * @since 2023-07-03
 */
@ApiModel(value = "Bill对象", description = "")
public class Bill implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Date createTime;

    private Date updateTime;

    private String orderId;

    @ApiModelProperty("支付状态")
    private Integer payStatus;


    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("退款失败原因")
    private String refundFailedReason;

    @ApiModelProperty("订单类型，1收入2退款")
    private Integer type;

    @ApiModelProperty("订单编号")
    private String tcWaybillNo;

    @ApiModelProperty("实际支付金额")
    private BigDecimal pricePaid;

    @ApiModelProperty("处理人")
    private String processedBy;

    public String getProcessedBy() {
        return processedBy;
    }

    public void setProcessedBy(String processedBy) {
        this.processedBy = processedBy;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTcWaybillNo() {
        return tcWaybillNo;
    }

    public void setTcWaybillNo(String tcWaybillNo) {
        this.tcWaybillNo = tcWaybillNo;
    }

    public BigDecimal getPricePaid() {
        return pricePaid;
    }

    public void setPricePaid(BigDecimal pricePaid) {
        this.pricePaid = pricePaid;
    }

    public String getRefundFailedReason() {
        return refundFailedReason;
    }

    public void setRefundFailedReason(String refundFailedReason) {
        this.refundFailedReason = refundFailedReason;
    }

    @Override
    public String toString() {
        return "Bill{" +
                "id='" + id + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", orderId='" + orderId + '\'' +
                ", payStatus=" + payStatus +
                ", type=" + type +
                ", tcWaybillNo='" + tcWaybillNo + '\'' +
                ", pricePaid=" + pricePaid +
                '}';
    }
}
